package edu.jamestang.yeb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import edu.jamestang.yeb.entity.MenuRole;
import edu.jamestang.yeb.util.Resp;

/**
 * @author JamesTang
 * @date 2021/12/16 0:32
 */
public interface MenuRoleService extends IService<MenuRole> {

    /**
     * update Menu <-> Role table
     * @param rid Role id
     * @param mIds Menu ids
     * @return Response
     */
    Resp updateMenuRole(Integer rid, Integer[] mIds);
}
